<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>权限管理222</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<!-- modal页固定调用 -->
		<%@ include file="/html/custom/header.jsp"%>
		<%@ include file="/html/custom/modalHeader.jsp"%>

		<style>
</style>
		
	</head>

	<body>
		<div id="content">
			<form  method="post"  action="/swss/user/user_updateRoleUser.action"
				target="_top">
				<fieldset>
					<p>
						<label>
							选择角色
						</label>
						<input type="hidden" name="roleUser.id"
							value="<s:property value="#request.roleUser.id"/>" />
						<select name="roleUser.roleId">
							<s:iterator value="#request.roleList" id="role">

								<option value="<s:property value="id"/>"
									<s:if test="#role.id==#request.roleUser.roleId">selected=selected</s:if>>
									<s:property value="roleName" />
								</option>
							</s:iterator>
						</select>
					</p>

				</fieldset>

			</form>



		</div>

		<!-- modal也固定页尾 （按钮） -->
		<div class="btnset clearfix">
			<a id="btnClose" href="#">取消</a>
			<a id="btnSave" href="<s:property value="url" />">保存</a>
		</div>


	</body>
</html>
